<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
}
</script>
<!--主题颜色定义-->
<style lang="scss">
  :root{
    --main-bg-color: hsl(217,26%,27%);
    --main-bg-color-act: hsl(217,19%,40%);
  }
</style>
<style lang="scss">
*{
  margin: 0;
  padding: 0;
}
html,body{
  height: 100%;
  line-height: unset !important;
  overflow: hidden;
}
body{
  overflow: auto;
}
.cursor-pointer:hover{
  cursor: pointer;
}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  min-height: 620px;
  min-width: 1200px;
}
</style>
<!--一些额外样式-->
<style lang="scss">
/* 解决element-ui的table表格控件表头与内容列不对齐问题 */
.el-table th.gutter{
  display: table-cell !important;
}
/* 左侧栏车辆翻页样式 */
.second-menu .el-pager li{
  min-width: 30.5px;
}
/* select默认样式 */
.page-content .ztree{
  *{
    font-size: 14px;
  }
  li .curSelectedNode{
    background-color: var(--main-bg-color-act);
    border: none;
    height: 17px;
    color: #fff !important;
    padding: 1px 3px 0 0;
    opacity: 1;
  }
}
/* 滚动条样式 */
div,ul {
  scrollbar-color: var(--main-bg-color-act) var(--main-bg-color);
  scrollbar-width: thin;
}
div::-webkit-scrollbar,ul::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}
div::-webkit-scrollbar-track,ul::-webkit-scrollbar-track {
  background: var(--main-bg-color);
  border-radius: 10px;
  border: 1px solid var(--main-bg-color-act);
}
div::-webkit-scrollbar-thumb,ul::-webkit-scrollbar-thumb {
  background: var(--main-bg-color-act);
  border-radius: 10px;
}
div::-webkit-scrollbar-thumb:hover,ul::-webkit-scrollbar-thumb:hover {
  background: var(--main-bg-color-act);
}
div::-webkit-scrollbar-corner,ul::-webkit-scrollbar-corner {
  background: var(--main-bg-color);
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Chrome/Safari/Opera */
  -khtml-user-select: none; /* Konqueror */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently not supported by any browser */
}
/* 解决elementui table固定列的时候，滚动条被遮挡无法拖动的问题 */
.el-table {
  .el-table__fixed,.el-table__fixed-right{
    height: auto !important; 
    bottom: 8px !important;  
  }
}
/* 覆盖掉框架的scrollbar-width: none; */
.el-scrollbar__wrap--hidden-default{
  scrollbar-width: thin;
}
</style>

